package com.webflux.tm.webflux.module.test.init;

import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

/**
 * @author Surging
 * @version 1.0
 * @ClassName UserService
 * @date 2023-05-08 17:38
 * @desc
 */
public interface UserService {


    Mono<User> selectById(int id);

    Flux<User> selectAllUsers();

    Mono<Void> insertUser(Mono<User> user);
}
